package com.example.module_home.api

import com.example.lib_common.view.api.BaseApiServer
import com.example.lib_common.view.entity.BaseResponse
import com.example.lib_common.view.entity.NoticeEntity
import retrofit2.http.GET
import retrofit2.http.Query

interface HomeApiServer :BaseApiServer{
    @GET("/api/announcements")
    suspend fun loadNoticeData(@Query("page")pageIndex:Int,@Query("size") pageSize:Int):BaseResponse<List<NoticeEntity>>
}